from django.db import models

# Create your models here.
from django.contrib.auth.models import AbstractUser

class User(AbstractUser):
    modile = models.CharField(max_length=11,unique=True)
    icon=models.ImageField(upload_to='icon',default='icon/default.png')

    class Meta:
        db_table = 'luffy_user'

        verbose_name='用户表'
        verbose_name_plural=verbose_name